<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Gallerie photo sil3</title>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<link rel="stylesheet" type="text/css" href="css/main.css" />
<?php 
if (isset($data->cssfiles)){
	foreach ( $data->cssfiles as $fileName ) {?>
		<link rel="stylesheet" type="text/css" href="css/<?php echo $fileName; ?>" />   
	<?php 
	}
}

if (isset($data->styles)){
	?>
	<style type="text/css">
	<?php foreach ( $data->styles as $key => $cssStyles ) { 
		echo("$key{");
		foreach ( $cssStyles as $key => $value ) { 
			echo("$key:$value;");
		}
		echo("}");
	} ?>
	
	</style>
<?php 
}?>

</head>
<body>
	<?php require_once("view/header.php");?>
	
	<?php require_once("view/menu.php");?>

	<?php require_once($data->content);?>


	<?php require_once("view/footer.php");?>

</body>
</html>
